Skip to content

⚠ Remove OpenShift-specific Helm templates and defaults - #3231

Draft
tmshort wants to merge 4 commits into
operator-framework:mainfrom
tmshort:remove-upstream-openshift-templates
Draft

tmshort wants to merge 4 commits into
operator-framework:mainfrom
tmshort:remove-upstream-openshift-templates

Conversation

@tmshort

@tmshort tmshort commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove ten OpenShift-only templates now carried by the OpenShift downstream chart overlay.
  • Make namespace and pod metadata, Service and catalogd webhook annotations, external TLS deployment settings, object-controller metrics TLS, and catalogd RBAC configurable through chart values.
  • Remove options.openshift.enabled from the chart defaults and templates. Kubernetes defaults and cert-manager behavior retain their existing renders.

Merge order

Merge the downstream overlay and values PR first. It works with the current upstream chart and supplies the OpenShift configuration this PR removes.

Validation

  • make verify
  • make test-unit
  • make lint
  • Byte-identical renders for six upstream chart profiles.
  • Equivalent Kubernetes resources for thirteen downstream chart profiles, including Boxcutter, standalone object-controller, cert-manager, and the 4.23 catalog tag override.

The OpenShift downstream chart overlay supplies these templates. Keep the OpenShift-specific settings in shared templates during the transition and retain chart test coverage for the shared Service.

Signed-off-by: Todd Short <tshort@redhat.com>
Move OpenShift namespace, pod, Service and catalogd webhook metadata out of shared templates. Default to the existing Kubernetes metadata and preserve chart-owned keys when adding custom metadata.

Signed-off-by: Todd Short <tshort@redhat.com>
Configure external TLS with values and retain cert-manager precedence. Use the same object-controller metrics TLS setting for serving HTTPS and opening ingress.

Signed-off-by: Todd Short <tshort@redhat.com>
Append optional RBAC rules to the existing catalogd ClusterRole and remove the OpenShift flag from chart defaults, templates, and render tests.

Signed-off-by: Todd Short <tshort@redhat.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 3, 2026
@netlify

netlify Bot commented Dec 3, 2026

Copy link
Copy Markdown

👷 Deploy request for olmv1 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3fdbb28

@openshift-ci

openshift-ci Bot commented Dec 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign perdasilva for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@tmshort

tmshort commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

Network policies had to change to remove openshift

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. networkpolicy-override

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant